package cn.xhy.material.controller.admin.commodityinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 商品信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CommodityInfoRespVO {

    @Schema(description = "商品信息id标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "10825")
    @ExcelProperty("商品信息id标识")
    private Long id;

    @Schema(description = "子件id", example = "1966")
    @ExcelProperty("子件id")
    private String sonId;

    @Schema(description = "条码")
    @ExcelProperty("条码")
    private String barCode;

    @Schema(description = "商品类型", example = "1")
    @ExcelProperty("商品类型")
    private String productType;

    @Schema(description = "商品类型名字", example = "1")
    @ExcelProperty("商品类型名字")
    private String productTypeName;

    @Schema(description = "类别名字")
    @ExcelProperty("类别名字")
    private String category;
    @Schema(description = "类别名字")
    @ExcelProperty("类别")
    private String categoryName;

    @Schema(description = "货物名称", example = "王五")
    @ExcelProperty("货物名称")
    private String gname;

    @Schema(description = "型号")
    @ExcelProperty("型号")
    private String model;

    @Schema(description = "型号名字")
    @ExcelProperty("型号名字")
    private String modelName;

    @Schema(description = "品牌")
    @ExcelProperty("品牌")
    private String brand;
    @Schema(description = "品牌名字")
    @ExcelProperty("品牌名字")
    private String brandName;

    @Schema(description = "单位")
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "状态(1启用)")
    @ExcelProperty("状态(1启用)")
    private Integer stats;

    @Schema(description = "(1项目，2办公)", example = "2")
    @ExcelProperty("(1项目，2办公)")
    private String type;

    @Schema(description = "(1有 2没有)")
    @ExcelProperty("(1有 2没有)")
    private Integer isBatchnumber;

    @Schema(description = "描述")
    @ExcelProperty("描述")
    private String describe;

    @Schema(description = "规格")
    @ExcelProperty("规格")
    private String specif;

    @Schema(description = "规格名字")
    @ExcelProperty("规格名字")
    private String specifName;

    @Schema(description = "是否可拆分（1是2否）")
    @ExcelProperty("是否可拆分（1是2否）")
    private String isSplit;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
